import { httpDelete, httpPost, httpPut } from "@/utils/http";

export type userLabelItemLimit = {
    _id?: string,
    name: string,
}
export function addUserLabelApi(data: object) {
    return httpPost('/userTagType/add', data);
}
export function getUserLabelApi(data?: object) {
    return httpPost('/userTagType/find', data);
}
export function updateUserLabelApi(data: object) {
    return httpPut('/userTagType/update', data);
}
export function deleteUserLabelApi(data: object) {
    return httpDelete('/userTagType/remove', data);
}
